package com.geper.pattern.payFactory.factory;

import com.geper.pattern.payFactory.MastercardPayFail;
import com.geper.pattern.payFactory.MastercardPaySuccess;
import com.geper.pattern.payFactory.PayFail;
import com.geper.pattern.payFactory.PaySuccess;

/**
 * @author: lsy
 * @date: 2020-02-24 17:52
 * @description: MastercardPayFactory
 */
public class MastercardPayFactory extends AbroadFactory {
    protected PayFail payFail() {
        return new MastercardPayFail();
    }

    protected PaySuccess paySuccess() {
        return new MastercardPaySuccess();
    }
}
